package basic7;

public class Ch04_Q3 {

	public static void main(String[] args) {
		Wine wine = new Wine("삼성", "세탁기");
		Wine wi = new Wine("엘지", "세탁기");
		System.out.println(wine.manafacturer);
		System.out.println(wi.manafacturer);
	} //메인

}//클래스

class Wine{
	
	String manafacturer;
	String name;
	String country;
	String region;
	String kind;
	int year;
	int grade;
	
public Wine(String manafacturer, String name) {
	this.manafacturer = manafacturer;
	this.name = name;
}	
	
	
}//클래스